package com.example.his.api.mis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.his.api.controller.form.SearchDeptByPageForm;
import com.example.his.api.db.pojo.DeptEntity;
import com.example.his.api.utils.PageUtils;

import java.util.ArrayList;
import java.util.HashMap;

public interface DeptService extends IService<DeptEntity> {
    public ArrayList<HashMap> searchAllDept();
    public PageUtils searchByPage(SearchDeptByPageForm param);

    public int insert(DeptEntity dept);
    public HashMap searchById(int id);
    public int update(DeptEntity dept);
    public int deleteByIds(Integer[] ids);
}
